package com.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author rkc
 * @date 2022/8/24 9:53
 */
@Data
@TableName("user")
public class UserDO implements Serializable {
    private static final long serialVersionUID = 3901138227484818937L;

    /**
     * uid
     */
    @TableId(type = IdType.AUTO)
    private Integer uid;

    /**
     * 账号
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 头像
     */
    private String headImg;

    /**
     * 注册时间
     */
    private Date registerTime;

    /**
     * 盐
     */
    private String secret;
}
